package com.reverie.service;

import com.reverie.entity.CouponLog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Rui.Zhou
 * @since 2024-02-03
 */
public interface ICouponLogService extends IService<CouponLog> {
    boolean deleteByUserIdAndOrderId(Integer userId,Integer orderId);

    boolean addLog(Integer userId, String couponId, Integer orderId);
}
